import { createStore } from 'vuex'

export default createStore({
  state: {
    "editorOpen": false,
    "editorFilePath": "",
  },
  mutations: {
    setEditor(state,codeState) {
      state.editorOpen = codeState;
    },
    setEditorFilePath(state,filePath) {
      state.editorFilePath = filePath;
    }
  },
  actions: {
  },
  modules: {
  }
})
